object fmConflicts: TfmConflicts
  Left = 0
  Top = 0
  Caption = #1050#1086#1085#1092#1083#1080#1082#1090#1099
  ClientHeight = 479
  ClientWidth = 425
  Color = clBtnFace
  DoubleBuffered = True
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'Tahoma'
  Font.Style = []
  OldCreateOrder = False
  OnClose = FormClose
  OnCreate = FormCreate
  PixelsPerInch = 96
  TextHeight = 13
  object tvConflicts: TTreeView
    Left = 0
    Top = 27
    Width = 425
    Height = 452
    Align = alClient
    HideSelection = False
    HotTrack = True
    Indent = 19
    ParentShowHint = False
    ReadOnly = True
    ShowHint = False
    TabOrder = 0
    ToolTips = False
    OnDeletion = tvConflictsDeletion
  end
  object fpTool: TFlowPanel
    Left = 0
    Top = 0
    Width = 425
    Height = 27
    Align = alTop
    AutoWrap = False
    BevelKind = bkTile
    BevelOuter = bvNone
    TabOrder = 1
    object btExpandAll: TButton
      AlignWithMargins = True
      Left = 2
      Top = 1
      Width = 86
      Height = 21
      Margins.Left = 2
      Margins.Top = 1
      Margins.Right = 2
      Margins.Bottom = 1
      Caption = #1056#1072#1079#1074#1077#1088#1085#1091#1090#1100' '#1074#1089#1077
      TabOrder = 0
      OnClick = btExpandAllClick
    end
    object btCollapseAll: TButton
      AlignWithMargins = True
      Left = 91
      Top = 1
      Width = 85
      Height = 21
      Margins.Left = 1
      Margins.Top = 1
      Margins.Right = 2
      Margins.Bottom = 1
      Caption = #1057#1074#1077#1088#1085#1091#1090#1100' '#1074#1089#1077
      TabOrder = 1
      OnClick = btCollapseAllClick
    end
    object btStructured: TSpeedButton
      Left = 178
      Top = 0
      Width = 23
      Height = 22
      GroupIndex = 1
      Down = True
      Caption = 'S'
      OnClick = SetStructureTypeClick
    end
    object btUnStructured: TSpeedButton
      Left = 201
      Top = 0
      Width = 23
      Height = 22
      GroupIndex = 1
      Caption = 'UnS'
      OnClick = SetStructureTypeClick
    end
  end
  object dsConflicts: TDataSource
    DataSet = itConflicts
    Left = 24
    Top = 32
  end
  object dsSched: TDataSource
    DataSet = DSched
    Left = 88
    Top = 32
  end
  object DSched: TIBDataSet
    Database = fmDatabase.IBDatabase
    Transaction = fmDatabase.IBTransaction
    Left = 87
    Top = 87
  end
  object itConflictNames: TIBTable
    Database = fmDatabase.IBDatabase
    Transaction = fmDatabase.IBTransaction
    Active = True
    FieldDefs = <
      item
        Name = 'ID'
        Attributes = [faRequired]
        DataType = ftInteger
      end
      item
        Name = 'NAME'
        DataType = ftWideString
        Size = 200
      end
      item
        Name = 'RU'
        DataType = ftWideString
        Size = 200
      end>
    IndexDefs = <
      item
        Name = 'RDB$PRIMARY41'
        Fields = 'ID'
        Options = [ixPrimary, ixUnique]
      end>
    IndexFieldNames = 'ID'
    StoreDefs = True
    TableName = 'CONFLICT_NAMES'
    Left = 152
    Top = 88
  end
  object dsConflictNames: TDataSource
    DataSet = itConflictNames
    Left = 152
    Top = 32
  end
  object itConflicts: TIBTable
    Database = fmDatabase.IBDatabase
    Transaction = fmDatabase.IBTransaction
    Active = True
    FieldDefs = <
      item
        Name = 'ID'
        DataType = ftInteger
      end
      item
        Name = 'CONFLICT_TYPE'
        DataType = ftInteger
      end
      item
        Name = 'SCHEDULE_ID'
        DataType = ftInteger
      end
      item
        Name = 'GROUP_ID'
        DataType = ftInteger
      end
      item
        Name = 'LOCATION_ID'
        DataType = ftInteger
      end
      item
        Name = 'SUBJECT_ID'
        DataType = ftInteger
      end
      item
        Name = 'TEACHER_ID'
        DataType = ftInteger
      end
      item
        Name = 'TIMESLICE_ID'
        DataType = ftInteger
      end
      item
        Name = 'WEEKDAY_ID'
        DataType = ftInteger
      end
      item
        Name = 'GROUP_NAME'
        DataType = ftWideString
        Size = 200
      end
      item
        Name = 'SUBJECT_NAME'
        DataType = ftWideString
        Size = 200
      end
      item
        Name = 'TEACHER_NAME'
        DataType = ftWideString
        Size = 200
      end
      item
        Name = 'LOCATION_NAME'
        DataType = ftWideString
        Size = 200
      end
      item
        Name = 'TIME_SLICE'
        DataType = ftWideString
        Size = 200
      end
      item
        Name = 'WEEK_DAY'
        DataType = ftWideString
        Size = 200
      end>
    ReadOnly = True
    StoreDefs = True
    TableName = 'VIEW_CONFLICTS'
    TableTypes = [ttView]
    AfterTransactionEnd = AfterTransaction
    Left = 24
    Top = 88
  end
  object iq1: TIBQuery
    Database = fmDatabase.IBDatabase
    Transaction = fmDatabase.IBTransaction
    Left = 232
    Top = 88
  end
  object ds1: TDataSource
    DataSet = iq1
    Left = 232
    Top = 32
  end
  object ds2: TDataSource
    DataSet = iq2
    Left = 304
    Top = 32
  end
  object ds3: TDataSource
    DataSet = iq3
    Left = 368
    Top = 32
  end
  object iq2: TIBQuery
    Database = fmDatabase.IBDatabase
    Transaction = fmDatabase.IBTransaction
    Left = 304
    Top = 88
  end
  object iq3: TIBQuery
    Database = fmDatabase.IBDatabase
    Transaction = fmDatabase.IBTransaction
    Left = 368
    Top = 88
  end
end
